package com.hucais.core.constant;

public final class Constants {
    /**
     * 用于标识数据ETL之后存储到ES的数据
     */
    public static final String CREATE_TYPE_ETL = "etl";
    /**
     * 用于标识正向选品存储到ES的数据
     */
    public static final String CREATE_TYPE_IMPORT = "import";

    /**
     * Hive数据的分隔符
     */
    public static final String HIVE_SPLIT_STR = "\u0001";

    /**
     * 字符类型缺省值
     */
    public static final String NONMAL_STR_VAL = "未知";

    /**
     * 数字类型缺省值
     */
    public static final Long NORMAL_NUMBER_VAL = 0L;

    /**
     * 折扣-默认值
     */
    public static final Float NORMAL_DISCOUNT_VAL = 10.00F;

    /**
     * 小数类型缺省值
     */
    public static final Double NORMAL_FLOAT_VAL = 0.00D;

    /**
     * 书籍默认分类
     */
    public static final String NORMAL_CATEGORY = "综合";

    /**
     * 当当-书籍默认分类
     */
    public static final String DD_NORMAL_CATEGORY = "其他";

    /**
     * 一级渠道-逆向选品
     */
    public static final String FIRST_CHANNEL_REVERSE_SELECT = "逆向选品";

    /**
     * 二级渠道-当当
     */
    public static final String SECOND_CHANNEL_DD = "当当";
    /**
     * 二级渠道-中图
     */
    public static final String SECOND_CHANNEL_BC = "中图";
    /**
     * 二级渠道-孔夫子
     */
    public static final String SECOND_CHANNEL_KFZ = "孔夫子";

    public static final String SPARK_VIEW_BOOK = "book";
    public static final String SPARK_VIEW_STORE = "store";
    public static final String SPARK_VIEW_COMMENT = "comment";
    public static final String SPARK_VIEW_DOUBAN = "douban";

    /**
     * 正版图书ISBN前缀
     */
    public static final String GENUINE_BOOK_PRE = "978";

}
